package com.zszedu.mapper;

import com.zszedu.pojo.Account;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper {
    //根据用户id查询信息
    Account queryAccount(Long uid);

    //根据用户id修改金额(减)
    Integer editMoney(@Param("uid") Long uid,@Param("money") Double money);

    //根据用户id添加金额
    void editAddMoney(@Param("uid") Long uid,@Param("money") Double money);

}
